package com.system.post.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.system.post.entity.Post;

public interface IPostService {
	public void saveOrUpdate(Post post);
	public void delete(Post post);
	public void delete(List<Long> ids);
	public Post findOne(Long postId);
	public List<Post> findAll();
	public Page<Post> findAll(Specification<Post> spec, Pageable pageable);

}
